package com.clp.inflxudb.anno;

import com.clp.inflxudb.core.FluxLib;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(value = RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Query {
    /**
     * 要导入的库
     * @return
     */
    FluxLib[] importLibs() default {};

    /**
     * 查询语句
     * @return
     */
    String value();
}
